/* * Copyright 2008 Max Kugland * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package org.splink.library.logging {	import org.splink.library.distributor.Dtype;
	import org.splink.library.distributor.Devent;
	import org.splink.library.distributor.IDistributor;		/**	 * <code>GarbageWatchDogEvent</code> is fired by <code>GarbageWatchDog</code> when an object	 * gets garbage collected.	 * 	 * @see Devent	 * 	 * @author Max Kugland	 */	public class GarbageWatchDogEvent extends Devent {		public static const COLLECTED : Dtype = new Dtype("GarbageCollected");		private var _id : String;		/**		 * @inheritDoc		 * 		 * @param id the id of the event		 */		public function GarbageWatchDogEvent(source : IDistributor, type : Dtype, id : String) {			super(source, type);			_id = id;					}		/**		 * @return the events id		 */		public function getId() : String {			return _id;		}	}}